<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!-- 导入头部head，js内容 -->
<jsp:include page="include_javascript_head.jsp"/>
<body class="wid_1130" style="background: #edf0f2 url(../img/left_bg.jpg) repeat-y 0px 0px;overflow: hidden;" >
<!-- 导入头部标题栏内容 -->
<jsp:include page="include_title_head.jsp"/>
<div id="mainFrame" style="" >
	<div class="wrapper">
		<div class="content-wrapper text-left">
			<div class="panel panel-primary">
				<div class="panel-heading">
					<strong><span class="glyphicon glyphicon-user"></span>&nbsp;信息提示</strong>
				</div>
				<div class="panel-body">
					<script type="text/javascript">
                        window.onload = function() {
                            goForward() ;
                        }
                        function goForward() {
                            spanObject = document.getElementById("countSpan") ;
                            count = parseInt(spanObject.innerHTML) ;	// 取得当前计数的内容
                            count -- ;
                            if (count <= 0) {	// 要进行跳转
                                window.location = "${pageContext.request.contextPath}/pages/index.action" ;	// 跳转
                            } else {
                                spanObject.innerHTML = count ;
                                setTimeout(goForward,1000) ;
                            }
                        }
					</script>
					<div><h1>对不起，您没有授权此项操作！！</h1></div>
					<div><span id="countSpan">${count != null ? count : 5}</span>秒后跳转到首页，如果没有跳转请按<a href="${pageContext.request.contextPath}/pages/index.action">这里</a>！</div>
				</div>
				<div class="panel-footer">
					<div class="alert alert-success" id="alertDiv" style="display: none;">
						<button type="button" class="close" data-dismiss="alert">&times;</button>
						<span id="alertText"></span>
					</div>
				</div>
			</div>
		</div>
		<div class="control-sidebar-bg"></div>
	</div>
</div>